<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>后台管理系统</title>
		<meta name="viewport" content="width=device-width,height=device-height, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="renderer" content="webkit" />
		<meta name="aplus-xplug" content="NONE">
		<link rel="icon" href="/favicon.ico" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="/static/layui/css/modules/admin/default/admin.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/new_layui.css" />
		<link rel="stylesheet" type="text/css" href="/static/css/default.css" />
		<link rel="stylesheet" type="text/css" href="/static/ueditor/themes/default/css/ueditor.min.css" />
		<script>
			var upload_uri = "{:url('Upload/uploadOne')}",
				upload_bjd = "{:url('goods/implodeJunXml')}",
				clear_cache = "{:url('index/clearCache')}",
				supplier_id = "{$supplier_id}",
				deliverTimeoutUrl = "{:url('index/deliverTimeout')}",
				receiveTimeOut = "{:url('index/receiveTimeOut')}",
				checkApiState = "{:url('jun/Api/checkApiState')}",
				is_supplier = false;
		</script>
		<script type="text/javascript" charset="utf-8" src="/static/layui/layui.js"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/index.js?v=20231107"></script>
		
		<script src="/static/js/jquery-2.1.0.js"></script>
		<script src="/static/ueditor/ueditor.config.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" charset="utf-8" src="/static/js/workerman.js?v=20240531"></script>
		
		

	</head>

	<body class="layui-layout-body default">
		<div style="position: fixed; background: #ffffff; z-index: 9999; height: calc(100% - 264px); top: 158px; right: 0px; border: 1px solid #e6e6e6; padding: 10px; width: 1100px; overflow: hidden; transition: all 0.6s; display: none;" id="create_bjd_select_goods">
			<div style="line-height: 30px; "><h2>选择报价商品</h2></div>
			<div class="select-bjd-box" style="line-height: 24px; height: calc(100% - 110px);  overflow-y: auto; background: #fafafa; padding: 10px; margin: 10px 0px;">
				
			</div>
			<div style="position: absolute; width: 1100px; right: 10px; bottom: 10px; display: flex; justify-content: space-between;z-index: 10000; background: #ffffff;">
				<span>
					<a type="button" data-title="取消报价" class="layui-btn layui-btn-primary layui-btn" id="closeCreateGoods">取消报价</a>
					<a type="button" data-title="导入报价单" class="layui-btn layui-btn-normal layui-btn" id="implodeBjd">导入报价单</a>
				</span>
				<a type="button" data-title="提交报价单" data-url="{:url('goods/saveCgGood')}" class="layui-btn layui-btn-normal layui-btn saveBjdGoods">提交报价单</a>
			</div>
		</div>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header">
				<div class="layui-logo layui-nav" lay-filter="nav">
					<a href="javascript:" class="tap-nav" data-id="home" data-url="{:url('index/count')}"><font style="display: none;">站点统计</font></a> {if (PARTNER_ID == null) OR (PARTNER_ID == '')}
					<span class="big-text"><a class="tap-nav" data-id="partner" data-url="{:url('partner/index')}" href="javascript:">合作伙伴</a></span> {else /}
				{/if}
					<span class="small-text"><a>{$member_info['username']}</a></span>
					<span class="small-text"><a href="https://dxtcrmadmin.dixintong.com/index.aspx" target="_blank">总系统</a></span>
				</div>
				<!-- 头部区域（可配合layui已有的水平导航） -->
				<ul class="layui-nav layui-layout-left">
<li class="layui-nav-item" style="margin-left:-10px;">
					<a href="javascript:">快捷访问</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="https://www.taobao.com/" target="_blank" data-id="site_config_config" data-title="淘宝">淘宝</a>
						</dd>
						<dd>
							<a href="https://www.jd.com/" target="_blank" data-id="site_config_list" data-title="定义配置">京东</a>
						</dd>
						<dd>
							<a href="https://www.1688.com/" target="_blank" data-id="access_config_list" data-title="权限配置">阿里巴巴</a>
						</dd>
						<dd>
							<a href="http://www.manmanbuy.com/" target="_blank" data-id="access_config_list" data-title="权限配置">比价网</a>
						</dd>
					</dl>
				</li>
				</ul>
				<div class="layui-nav layui-layout-left" style="left:300px;line-height: 25px;">
					<div style="color: aqua;">未发货订单预警：<span class="weifahuo">0</span></div>
					<div style="color: bisque;">未收货订单预警：<span class="weishouhuo">0</span></div>
				</div>
				<ul class="layui-nav layui-layout-right" lay-filter="nav">
					<li class="layui-nav-item top-update tips" data-title="刷新当前标签">
						<a href="javascript:" ><i class="iconfont icon-shuaxin"></i></a>
					</li>
					<li class="layui-nav-item clear-cache tips" data-title="清空缓存">
						<a href="javascript:"><i class="layui-icon layui-icon-fonts-clear"></i></a>
					</li>
					<li class="layui-nav-item exit-full tips"  data-title="退出全屏" style="display: none;">
						<a href="javascript:"><i class="layui-icon layui-icon-screen-restore"></i></a>
					</li>
					<li class="layui-nav-item to-full tips" data-title="全屏显示">
						<a href="javascript:"><i class="layui-icon layui-icon-screen-full"></i></a>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:"><i class="iconfont icon-xitongshezhi"></i></a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" data-url="{:url('siteConfig/config')}" data-id="site_config_config" data-title="站点配置">站点配置</a>
							</dd>
							<dd>
								<a href="javascript:;" data-url="{:url('siteConfig/index')}" data-id="site_config_list" data-title="定义配置">定义配置</a>
							</dd>
							{if condition="$get_site['site_name'] EQ '主站'"}
							<dd>
								<a href="javascript:;" data-url="{:url('accessConfig/index')}" data-id="access_config_list" data-title="权限配置">权限配置</a>
							</dd>
							{/if}
						</dl>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;">
							<i class="iconfont icon-yonghu"></i>
						</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:" class="tap-nav" lay-event="edit" data-id="edit_staff_{$member_info.member_id}" data-url="{:url('staff/tplform',array('staff_id'=>$member_info['member_id']))}" data-title="修改资料">修改资料</a>
							</dd>
							<dd style="display: none;">
								<a class="tap-nav" lay-event="edit" data-id="edit_staff_{$member_info.member_id}" data-url="/erp/staff/tplform.html?staff_id={$member_info.member_id}" data-title="修改密码">修改密码</a>
							</dd>
							<dd>
								<a href="{:url('login/ajax_logout')}">安全退出</a>
							</dd>
						</dl>
					</li>
					<li class="layui-nav-item tips" data-title="安全退出">
						<a href="{:url('login/ajax_logout')}">
							<i class="iconfont icon-icon logout"></i>
						</a>
					</li>

				</ul>
			</div>

			<div class="layui-side">
				<div class="layui-side-scroll">
					<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
					<ul class="layui-nav layui-nav-tree" lay-filter="nav">
						{if condition="MEMBER_ID NEQ '588'"}
						<li class="layui-nav-item">
							<a class="" href="javascript:;"><i class="iconfont icon-dingdanguanli"></i>订单管理</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-id="order_list" data-url="{:url('Order/index')}">订单列表</a>
								</dd>
								
								
								
								{if condition="menuAuth('index_daicai')"}
								<dd>
									<a href="javascript:;" data-id="dianzi_list" data-url="{:url('dianzi/index')}">代采审核</a>
								</dd>
								{/if}
								<dd>
									<a href="javascript:;" data-id="yujing_list" data-url="{:url('Yujing/index')}">订单预警</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="order_ghghs" data-url="{:url('order/ghghs')}">更换供货商</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="order_feizhi" data-url="{:url('order/feizhi')}">废止订单</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-id="returned_list" data-url="{:url('Returned/index')}">退换货管理</a>
								</dd>
								
								
								
								
							</dl>
						</li>
						<li class="layui-nav-item">
							<a href=""><i class="iconfont icon-chanpincaigou"></i>发票管理</a>
							<dl class="layui-nav-child">
								{if condition="menuAuth('tuisong_index')"}
								<dd>
									<a href="javascript:;" data-id="tuisong_list" data-url="{:url('tuisong/index')}">电子发票</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="month_contract_list" data-url="{:url('MonthContract/index')}">月度合同</a>
								</dd>
								{/if}
								
							</dl>
						</li>
						<li class="layui-nav-item">
							<a href=""><i class="iconfont icon-caiwu"></i>收付款</a>
							<dl class="layui-nav-child">
								
								{if condition="menuAuth('index_fapiaopay')"}
								<dd>
									<a href="javascript:;" data-id="invoice_list" data-url="{:url('Invoice/index')}">发票收款</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="invoice_plist" data-url="{:url('Invoice/pindex')}">发票付款</a>
								</dd>
								{/if}
								{if condition="menuAuth('index_pikuan')"} 
								<dd>
									<a href="javascript:;" data-id="pikuan_importpk" data-url="{:url('Pikuan/importpk')}">匹款</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="pikuan_list" data-url="{:url('Pikuan/index')}">认款审核</a>
								</dd>
								<dd>
									<a href="javascript:;" data-id="pikuanxinxi_list" data-url="{:url('Pikuanxinxi/index')}">匹款地址</a>
								</dd>
								{/if}
								{if condition="menuAuth('index_renkuan')"} 
								<dd>
									<a href="javascript:;" data-id="chakuan_list" data-url="{:url('Pikuan/chakuan')}">查款认款</a>
								</dd>
								{/if}
								<dd>
									<a href="javascript:;" data-id="pikuanlog_list" data-url="{:url('Pikuanlog/index')}">日志</a>
								</dd>
								{if condition="menuAuth('index_qingkuan')"} 
								<dd>
									<a href="javascript:;" data-id="qinkuan_list" data-url="{:url('Qingkuan/index')}">请款</a>
								</dd>
								{/if}
							</dl>
						</li>
						{/if}	
						<li class="layui-nav-item">
							<a href="javascript:;"><i class="iconfont icon-chanpinguanli"></i>商品管理</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('Brand/index')}" data-id="brand_list">品牌管理</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Brandcert/index')}" data-id="brandcert_list">品牌授权</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Brandcert/audit')}" data-id="brandcert_audit">品牌授权审核</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Category/index')}" data-id="category_list">分类管理</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Goods/index')}" data-id="product_list">自选库商品
</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Goods/jun')}" data-id="jun_list">重点库商品</a>
								</dd>
								{if condition="MEMBER_ID EQ '193'"}
								<dd>
									<a href="javascript:;" data-url="{:url('Jdgoods/index')}" data-id="jdgoods_list">京东商品</a>
								</dd> 
								{/if}
{if condition="menuAuth('index_goodsh')"}
								<dd>
									<a href="javascript:;" data-url="{:url('Audit/pindex')}" data-id="audit_list">产品审核</a>
								</dd>
{/if}	

								<dd>
									<a href="javascript:;" data-url="{:url('baojia/index')}" data-id="baojia_list">报价商品审核</a>
								</dd> 

								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('offer/index')}" data-id="offer_list">报价单审核</a>
								</dd> 
							</dl>
						</li>
						{if condition="MEMBER_ID NEQ '588'"}
						<li class="layui-nav-item">
							<a href="javascript:;"><i class="iconfont icon-dingdanliebiao"></i>网站通用</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('Artclass/index')}" data-id="artclass_list">文章分类</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Article/index')}" data-id="article_list">文章管理</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Adsense/index')}" data-id="adsense_list">广告位　</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('Advent/index')}" data-id="advent_list">广告管理</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('outlinkCategory/index')}" data-id="outlink_categrogy_list">外链分类</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('outlink/index')}" data-id="outlink_list">外部链接</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('recruit/index')}" data-id="recruit_list">人才招聘</a>
								</dd>
							</dl>
						</li>
						<li class="layui-nav-item" style="display: none;">
							<a href=""><i class="iconfont icon-chanpincaigou"></i>采购管理</a>
						</li>
						<li class="layui-nav-item" style="display: none;">
							<a href=""><i class="iconfont icon-cangku"></i>仓库管理</a>
						</li>
						<li class="layui-nav-item" style="display: none;">
							<a href=""><i class="iconfont icon-wuliu"></i>物流配送</a>
						</li>
						<li class="layui-nav-item" style="display: none;">
							<a href=""><i class="iconfont icon-caiwu"></i>财务管理</a>
						</li>
						<li class="layui-nav-item">
							<a href="javascript:"><i class="iconfont icon-kehu"></i>客户管理</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('member/index')}" data-id="member_list">会员管理</a>
								</dd>
								{if condition="menuAuth('index_gys')"}
								<dd>
									<a href="javascript:;" data-url="{:url('supplier/index')}" data-id="supplier_list">供应商管理</a>
								</dd>
							{/if}
							
							</dl>
						</li>
						{if condition="$get_site['site_name'] EQ '主站'"}
						<li class="layui-nav-item">
							<a href="javascript:"><i class="iconfont icon-zhandian"></i>分站管理</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('site/index')}" data-id="site_index">分站管理</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('site/recycle')}" data-id="site_recycle" data-title="分站回收站">分站回收站</a>
								</dd>
							</dl>
						</li>
						{/if}
						{if condition="menuAuth('index_yg')"}
						<li class="layui-nav-item">
							<a href="javascript:"><i class="iconfont icon-yuangongguanli"></i>员工管理</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('department/index')}" data-id="department_list">部门管理</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('staff/index')}" data-id="staff_list">员工管理</a>
								</dd>
								{if condition="MEMBER_ID EQ '193'"}
								<dd>
									<a href="javascript:;" data-url="{:url('menuAuth/index')}" data-id="menuAuth_list" data-title="功能授权">功能授权</a>
								</dd>
								{/if}
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('department/recycle')}" data-id="department_recycle" data-title="部门回收站">部门回收站</a>
								</dd>
								<dd style="display: none;">
									<a href="javascript:;" data-url="{:url('staff/recycle')}" data-id="staff_recycle" data-title="员工回收站">员工回收站</a>
								</dd>
							</dl>
						</li>
						{/if}
						{if condition="menuAuth('index_xitong')"}
						<li class="layui-nav-item">
							<a href="javascript:;"><i class="iconfont icon-xitongshezhi"></i>系统设置</a>
							<dl class="layui-nav-child">
								<dd>
									<a href="javascript:;" data-url="{:url('siteConfig/config')}" data-id="site_config_config" data-title="站点配置">站点配置</a>
								</dd>
								<dd>
									<a href="javascript:;" data-url="{:url('siteConfig/index')}" data-id="site_config_list" data-title="定义配置">定义配置</a>
								</dd>
								{if condition="$get_site['site_name'] EQ '主站'"}
								<dd>
									<a href="javascript:;" data-url="{:url('accessConfig/index')}" data-id="access_config_list" data-title="权限配置">权限配置</a>
								</dd>
								{/if}
								
								<dd>
									<a href="javascript:;" data-url="{:url('member/loginlog')}" data-id="member_log_list">登录日志</a>
								</dd>
								
							</dl>
						</li>
						{/if}
							{/if}
					</ul>
				</div>
			</div>

			<div class="layui-body">
				<!-- 内容主体区域 -->
				<div class="layui-tab" lay-filter="content" lay-allowClose="true">
					<ul class="layui-tab-title">

					</ul>
					<div class="layui-tab-content">

					</div>
				</div>
			</div>
			<div style="width:100%;text-align: center;	position: absolute;	bottom: 10px;z-index: 999;">
			<a target="_blank" href="http://beian.miit.gov.cn">
				<p class="c-record">京ICP备100351号 北京市泰龙吉贸易有限公司</p>
			</a>
			</div>
		</div>
		<div id="returned_express" style="margin: 40px 20px 60px 20px; display: none;">
			<form class="layui-form" lay-filter="tpl_express_back">
				<input type="hidden" name="returned_id" value="" />
				<div class="layui-form-item">
					<label class="layui-form-label">发货仓库</label>
					<div class="layui-input-inline" style="width: 200px;">
						<select name="depot_id" lay-filter="depot" lay-verify="required" lay-search></select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">选择物流</label>
					<div class="layui-input-inline" style="width: 200px;">
						<select name="express" lay-filter="express" lay-verify="required" lay-search>
							<option value="ziji">自配物流</option>
							<option value="shunfeng">顺丰速运</option>
							<option value="shentong">申通快递</option>
							<option value="yuantong">圆通速递</option>
							<option value="yundakuaiyun">韵达快运</option>
							<option value="zhongtong">中通快递</option>
							<option value="ems">EMS</option>
							<option value="jd">京东物流</option>
							<option value="baishikuaidi">百世快递</option>
							<option value="bsht">百事亨通</option>
							<option value="tiantian">天天快递</option>
							<option value="youzhengguonei">邮政快递包裹</option>
						</select>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">物流单号</label>
					<div class="layui-input-inline">
						<input name="express_no" lay-verify="required" type="text" class="layui-input" />
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="back_submit_express">确认发货</button>
					</div>
				</div>
			</form>
		</div>
		<div id="returned_form_box" style="margin: 40px 20px 60px 20px; display: none;">
			<form class="layui-form" lay-filter="tpl_returned_form">
				<input type="hidden" name="returned_id" value="" />
				<div class="layui-form-item">
					<label class="layui-form-label">回寄物流</label>
					<div class="layui-input-inline">
						<select name="back_express" lay-filter="back_express" lay-search>
							<option value="">请选择</option>
							<option value="shunfeng">顺丰速运</option>
							<option value="shentong">申通快递</option>
							<option value="yuantong">圆通速递</option>
							<option value="yundakuaiyun">韵达快运</option>
							<option value="zhongtong">中通快递</option>
							<option value="ems">EMS</option>
							<option value="jd">京东物流</option>
							<option value="baishikuaidi">百世快递</option>
							<option value="bsht">百事亨通</option>
							<option value="tiantian">天天快递</option>
							<option value="youzhengguonei">邮政快递包裹</option>
						</select>

					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">物流单号</label>
					<div class="layui-input-inline">
						<input name="back_express_no" type="text" class="layui-input" />
					</div>
				</div>

				<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_returned_back">确认回寄</button>
					</div>
				</div>
			</form>
		</div>
	</body>

</html>
